// let baseUrl = 'http://localhost:3000'
let baseUrl = process.env.hostAddress
export function absUrl (url) {
  if (url.indexOf('://') !== -1) {
    return url
  }
  return baseUrl + url
}

export {baseUrl}
